package com.xxx.td;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/30 9:39
 * @Copyright 博为峰
 */

/*
   创建线程的方式:
   1.继承Thread类，重写run方法


 */
public class ThreadDemo02 extends Thread{

    public void run(){
        while (true){}
//        System.out.println("abc");
    }

}
